﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRealize
{
    public interface IUR
    {
        public Task<List<UserRolesSelect>> Select_UR(string sqlserver);
        public Task<UserRolesSelect> SelectById(string id, string sqlserver);
        public Task<int> Delect_UR(string id,string uid,string sqlserver);
        public Task<int> Add_UR(string name, string zsname, string pwd, string roles, string sqlserver);
        public Task<int> Update_UR(string urid,string id,string name, string pwd, string zsname, string roles, string sqlserver);
        public Task<User> SelectUserId(string id, string sqlserver);
    }
}
